#include<stdio.h>
void mon(int n)
{
	char *month[13]={"0","January","February","March","April","May",
 	"June","July","August","September","October","November","December"};
 	if(n>0&&n<13)
 	printf("%s",month[n]);
 	else
 	printf("Illegal month");
 	
}
int main()
{
	int n;
	scanf("%d",&n);
	mon(n);
	return 0;
}
